back · tests/import.spec.js:420:1 @ main all
Error: expect(locator).toBeVisible() failed
Locator: locator('main').getByText('debugsquare.png')
Expected: visible
Error: strict mode violation: locator('main').getByText('debugsquare.png') resolved to 2 elements:
1) <span class="overflowable svelte-hos8z2">debugsquare.png</span> aka getByText('debugsquare.png').first()
2) <span class="overflowable svelte-hos8z2">debugsquare.png</span> aka getByText('debugsquare.png').nth(1)
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('main').getByText('debugsquare.png')
at tests/import.spec.js:397:66